package com.hairline.service;

import com.hairline.bean.*;
import com.hairline.bean.bo.*;
import com.hairline.bean.vo.ListVo;

import java.text.ParseException;

public interface SpreadServices {
    ListVo getAdListPages(AdListBo adListBo);

    Ad creatAd(Ad creat);

    Ad updateAd(Ad update);

    void delete(Ad update);

    ListVo getCouponList(CouponListBo coupon);

    Coupon createCoupon(CouponBo couponBo);

    ListVo getListuser(CouponUserListBo couponUserListBo);

    Coupon getCouponById(Integer id);

    Coupon updateCoupon(CouponBo updateCoupon);

    void deleteCoupon(Coupon updateCoupon);

    ListVo getTopicList(TopicListBo topicListBo);

    Topic createTopic(TopicCreatBo topicCreatBo);

    Topic updateTopic(Topic updateTopic);

    void deleteTopic(Topic updateTopic);

    ListVo getGrouponList(GroupListBo groupListBo);

    GrouponRules createGroupon(GrouponRules createGrouponRules) throws ParseException;

    GrouponRules updateGrouponRules(GrouponRules updateGroupRules);

    void deleteGroupon(GrouponRules deleteGrouponRules);

    ListVo getGrouponListRecord(GrouponListRecordBo grouponListRecordBo);
}
